﻿using System.Data.Linq.Mapping;

namespace BSU.GraduateWork.Data.Model
{
    [Table(Name = "InputParameters")]
    public class InputParameters3D: InputParameters
    {
        [Column(Name = "id", DbType = "Int IDENTITY", IsPrimaryKey = true, IsDbGenerated = true,
            CanBeNull = false, AutoSync = AutoSync.OnInsert, UpdateCheck = UpdateCheck.Never)]
        public override int Id { get; set; }

        [Column(Name = "N", DbType = "int", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public override int N { get; set; }

        [Column(Name = "G", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public override double G { get; set; }

        [Column(Name = "Epsilon", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public override double Epsilon { get; set; }

        [Column(Name = "H", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public override double H { get; set; }

        [Column(Name = "Alpha", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public override double Alpha { get; set; }

        [Column(Name = "X1", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public double X1 { get; set; }
        [Column(Name = "X2", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public double X2 { get; set; }

        [Column(Name = "Y1", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public double Y1 { get; set; }
        [Column(Name = "Y2", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public double Y2 { get; set; }

        [Column(Name = "Z1", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public double Z1 { get; set; }
        [Column(Name = "Z2", DbType = "float", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public double Z2 { get; set; }
    }
}
